<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>带平滑效果的js返回顶部特效</title>
    <link href="css/top.css" type="text/css" rel="stylesheet" />
  </head>

  <body>
    <div id="content">
      <img src="images/qq.png" alt="qq网" />
    </div>
    <a href="#" class="totop"></a>
  </body>
</html>
